.multilingual-search-container {
  position: relative;
  box-sizing: border-box;

  .search-section {
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--color-neutral-3);
  }

  .search-results-popup {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-neutral-3);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    .search-results-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 16px;
      border-bottom: 1px solid var(--color-neutral-3);
      background: var(--color-neutral-1);

      .results-count {
        font-weight: 500;
        color: var(--color-neutral-8);
      }

      .close-results {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: var(--color-neutral-6);
        padding: 4px 8px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:hover {
          background: var(--color-neutral-2);
          color: var(--color-neutral-8);
        }
      }
    }

    .search-results-content {
      flex: 1;
      overflow-y: auto;
      position: relative;
    }
  }
}

.search-input {
  input {
    &:focus {
      background-color: rgba(46, 50, 56, 0.05);
    }
    &::placeholder {
      color: var(--refly-text-2);
      font-size: 14px;
      line-height: 20px;
    }
  }
}
